package org.jeecg.modules.xl.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.xl.product.entity.XlProductCustomerPrice;
import org.jeecg.modules.xl.product.entity.XlProductInfo;
import org.jeecg.modules.xl.product.mapper.XlProductCustomerPriceMapper;
import org.jeecg.modules.xl.product.service.IXlProductCustomerPriceService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author deco
 * @create 2025-01-24
 */
@Service
public class IXlProductCustomerPriceServiceImpl extends ServiceImpl<XlProductCustomerPriceMapper, XlProductCustomerPrice> implements IXlProductCustomerPriceService {
    @Override
    public Page<XlProductInfo> queryListByPage(Page<XlProductInfo> page, Wrapper<XlProductInfo> wrapper) {
        return baseMapper.queryListByPage(page,wrapper);
    }
    @Override
    public int batchInsertOrUpdate(List<XlProductCustomerPrice> list) {
        return baseMapper.batchInsertOrUpdate(list);
    }
    @Override
    public int insertOrUpdate(XlProductCustomerPrice record) {
        return baseMapper.insertOrUpdate(record);
    }
    @Override
    public int insertOrUpdateSelective(XlProductCustomerPrice record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
